<template>
  <div class="qiyehezuo">
    <!-- 合作企业 -->
    <div class="tuijian">
      合作企业
      <span>部分订单培养合作企业</span>
    </div>
    <div class="Enterprise">
      <LoadingComponent
        v-for="it in HezuoDates"
        :key="it.je_id"
        v-slot="{ loadingFlag }"
      >
        <div class="Enterprise1">
          <img
            :src="'http://www.shxw114.com:9527/' + it.je_imgs"
            v-if="loadingFlag"
          />
          <p>{{ it.je_names }}</p>
        </div>
      </LoadingComponent>
    </div>
  </div>
</template>
<script setup>
import { ref } from "vue";
import { HezuoGet } from "../../server/index.js";
const HezuoDates = ref({});
(async (v) => {
  const { data } = await HezuoGet();
  HezuoDates.value = data;
})();
</script>
<style scoped>
.qiyehezuo {
  width: 100%;
  height: auto;
}
.tuijian {
  width: 100%;
  height: 3rem;
  display: block;
  text-align: center;
  padding-top: 3%;
  font-size: 1rem;
  color: #666;
}
.tuijian span {
  line-height: 0.3rem;
  font-size: 0.6rem;
  color: #f90;
  display: block;
  text-align: center;
  margin-top: 0.2rem;
}
.Enterprise {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}
.Enterprise1 {
  width: 3rem;
  height: 4rem;
}
.Enterprise1 img {
  width: 3rem;
  height: 3rem;
  border: 0.01rem solid #f0f0f0;
}
.Enterprise1 p {
  width: 100%;
  line-height: 1rem;
  font-size: 0.4rem;
  color: #666;
  text-align: center;
}
</style>